import config from '../../utils/config';
import apiCreator from '../../utils/apiCreator';

const api = apiCreator();

export default {
  //频率统计值（柱状图）
  netCash: (query) => api.post(`${config.interfaces.type1}cashFlow/queryForCashFlowBackHistogram`, query),
  //现金流明细（表格）
  cashFlowDetails: (query) => api.post(`${config.interfaces.type1}cashFlow/queryCashFlowBackList`, query),
  //获取汇总信息
  getAccount: (query) => api.post(`${config.interfaces.type1}cashFlow/cashFlowBackListTotal`, query),
};
